package com.hsjk.szwj.module.train.controller.app.vo.course;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.ToString;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/08/04 16:59
 **/
@Schema(description = "")
@Data
@ToString(callSuper = true)
public class AppCourseItemRespVO {
    @Schema(description = "课程目录id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long id;

    @Schema(description = "目录id", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long catalogId;

    @Schema(description = "条目名称", requiredMode = Schema.RequiredMode.REQUIRED)
    private String itemName;

    @Schema(description = "条目描述", requiredMode = Schema.RequiredMode.REQUIRED)
    private String itemDesc;

    @Schema(description = "课程类型;1视频 2图文 3题目", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer courseItemType;

    @Schema(description = "课程类型ID", requiredMode = Schema.RequiredMode.REQUIRED)
    private Long courseItemTypeId;

    @Schema(description = "免费试看时长", requiredMode = Schema.RequiredMode.REQUIRED)
    private Boolean isFree;

    @Schema(description = "条目状态;1启用 2禁用", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer itemStatus;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer sortNo;

    @Schema(description = "学习记录")
    private AppCourseStudyRecordRespVO studyRecord;
}
